package six;

public class Hello implements HelloMXBean {
	
	private String name;
	
	public void sayHello(){
		System.out.println("hello "+name);
	}
	
	public void sayHello(String whoName){
		System.out.println("hello "+whoName);
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	

}
